<%@ page contentType="text/html" pageEncoding="UTF-8"%>
    
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <div >
	<h3><bean:message key="content.createTripForm.formName" /></h3> 
    </div>
    <div style="color:aqua;">
    	<html:errors property="message"/>
    </div>
    <html:form action="/createTripManager" >
        <bean:message key="content.createTripForm.name" /><html:text name="CreateTripForm" property="name" />
        <html:errors property="name"/>
         <br/>
        <bean:message key="content.createTripForm.description" /><html:text name="CreateTripForm" property="description" />
         <br/>
        <bean:message key="content.createTripForm.from" /><html:text name="CreateTripForm" property="from" />
        <html:errors property="from"/>
         <br/>
        <bean:message key="content.createTripForm.to" /><html:text name="CreateTripForm" property="to" />
        <html:errors property="to"/>
         <br/>
        <bean:message key="content.createTripForm.cost" /><html:text name="CreateTripForm" property="cost" />
        <html:errors property="cost"/>
         <br/>
        <html:submit value="Create" />
    </html:form>